import Vue from 'vue'
import VueRouter from 'vue-router'
import main from './modules/main'
import pagenotfound from './modules/404page'

Vue.use(VueRouter)

const routes = [
  ...main,
  ...pagenotfound
]

const router = new VueRouter({
  routes
})

export default router
